package com.linkus.wisdomhall.core.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 系统机构表
 * 
 * @author linkus
 * @email admin@linkus.com
 * @date 2018-12-07 10:55:58
 */
@Table(name = "common_branch")
public class CommonBranch implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Integer id;
	
	    //展示顺序
    @Column(name = "display_order")
    private Integer displayOrder;
	
	    //上下级关系ID
    @Column(name = "full_id")
    private String fullId;
	
	    //条线
    @Column(name = "level")
    private Boolean level;
	
	    //机构名称
    @Column(name = "name")
    private String name;
	
	    //机构地址
    @Column(name = "branch_address")
    private String branchAddress;
	
	    //机构号
    @Column(name = "branch_id")
    private String branchId;
	
	    //机构类型
    @Column(name = "branch_type")
    private String branchType;
	
	    //上级机构ID
    @Column(name = "parent_id")
    private String parentId;
	

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：展示顺序
	 */
	public void setDisplayOrder(Integer displayOrder) {
		this.displayOrder = displayOrder;
	}
	/**
	 * 获取：展示顺序
	 */
	public Integer getDisplayOrder() {
		return displayOrder;
	}
	/**
	 * 设置：上下级关系ID
	 */
	public void setFullId(String fullId) {
		this.fullId = fullId;
	}
	/**
	 * 获取：上下级关系ID
	 */
	public String getFullId() {
		return fullId;
	}
	/**
	 * 设置：条线
	 */
	public void setLevel(Boolean level) {
		this.level = level;
	}
	/**
	 * 获取：条线
	 */
	public Boolean getLevel() {
		return level;
	}
	/**
	 * 设置：机构名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：机构名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：机构地址
	 */
	public void setBranchAddress(String branchAddress) {
		this.branchAddress = branchAddress;
	}
	/**
	 * 获取：机构地址
	 */
	public String getBranchAddress() {
		return branchAddress;
	}
	/**
	 * 设置：机构号
	 */
	public void setBranchId(String branchId) {
		this.branchId = branchId;
	}
	/**
	 * 获取：机构号
	 */
	public String getBranchId() {
		return branchId;
	}
	/**
	 * 设置：机构类型
	 */
	public void setBranchType(String branchType) {
		this.branchType = branchType;
	}
	/**
	 * 获取：机构类型
	 */
	public String getBranchType() {
		return branchType;
	}
	/**
	 * 设置：上级机构ID
	 */
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	/**
	 * 获取：上级机构ID
	 */
	public String getParentId() {
		return parentId;
	}
}
